ClearCache & DoNotCache values coming in Indications component

We are developing an EMA consumer based application. It is not clear what the consumer application supposed to do when ClearCache or DoNotCache values are received for Indications component of Refresh messages (for Login and MarketPrice domains). Can someone please describe does a consumer application really need to process these values?

Best Answer

  • Consumer application should handle the ClearCache and DoNotCache values only if it is implemented to cache information in response messages.

    The ClearCache indicates that existing data in the cache should be cleared before populated with the new data in the received response message. Please see more information in the EMA C++ RDM Usage Guide document.

    The DoNotCache indicates that the data in the response message should not be cached.

    image

Answers

  • What is it the right behaviour from the point of view of a Consumer Application that receive refreshMessages and read parameter DoNotCache and ClearCache.

    Which action a Consumer Application need to do in those cases?